#ifndef CONFIGDIALOG_H
#define CONFIGDIALOG_H

#include <QDialog>
#include <QListWidgetItem>
#include <QListWidget>
#include <QStackedWidget>
#include <QPointer>
#include "faderwidget.h"
#include <QObject>

class ConfigDialog : public QDialog
{
    Q_OBJECT
public:
    ConfigDialog(QWidget *parent = nullptr);


public slots:
    void changPage(QListWidgetItem *current, QListWidgetItem *previous);
    void slotfadeInWidget(int index);

private:
    QListWidget *contentsWidget;
    QStackedWidget *pagesWidget;
    QPointer<FaderWidget>  faderWidget;

};

#endif // CONFIGDIALOG_H
